<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="sf"uri="http://www.springframework.org/tags/form"%>
<!doctype html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>User Infomation</title>
	<style>
		.userForm .label {
			display: inline-block;
			width: 200px;
			text-align: right;
		}

		.userForm div {
			margin-top: 10px;
			text-align: center;
		}

		.userForm {
			margin-left: 100px;
			margin-right: 100px;
			border: solid 1px red;
		}
	</style>
</head>
<body>
	<form class="userForm" action="#" method="post">
		<div>
			<label for="username" class="label">What is your name?</label>
			<input id="username" name="username" type="text" value="${user.username}">
		</div>
		<div>
			<label for="password" class="label">Type your password here.</label>
			<input id="password" name="password" type="password">
		</div>
		<div>
			<label for="retypePassword" class="label">Retype your password here.</label>
			<input id="retypePassword" type="password">
		</div>
		<div>
			<label for="email" class="label">What is your e-mail address?</label>
			<input id="email" name="email" type="text" value="${user.email}">
		</div>
		<div>
			<label for="address" class="label">Where do you live?</label>
			<input id="address" name="address" type="text" value="${user.address}">
		</div>
		<div>
			<input type="submit" value="Submit">
			<input type="reset" value="reset">
		</div>
	</form>
</body>
</html>